package com.wfuhui.modules.store.service;

import com.wfuhui.modules.store.entity.CouponEntity;

import java.util.List;
import java.util.Map;

/**
 * 优惠券
 * 
 * @author lizhengle
 * @email codemax@qq.com
 * @date 07-16 21:50:41
 */
public interface CouponService {
	
	CouponEntity queryObject(Integer id);
	
	List<CouponEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(CouponEntity coupon);
	
	void update(CouponEntity coupon);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);
}
